import http from "@/api";
import { Cache } from "@/api/interface/cache";

/**
 * @description 获取详情
 * @param {number} id id
 */
export const getCacheDetail = () => {
  return http.Get<Cache.ICache>(`/redis-cache/info`);
};
